
;
(function(){
	'use strict';
	
	var app = angular.module('mhis.configs');
	app.config(['BaseURL','Config', function(baseUrl,Config){
		
		var states = Config.states;
		
		
		states.push({
			name:'performanceIndicators',
	        url:'/performanceIndicators',
	        data:{
	        	title:'医院绩效标准',
	        	tabRoot:'performanceIndicators'
	        },
	        deepStateRedirect: true,
            sticky: true,
	        views:{
	            'performanceIndicators@':{
	                templateUrl:baseUrl+'views/hcpms/assessment/performanceStandard_view.html',
	            	controller:'performanceIndicatorsCtrl'
	            }
	        }
		});
		
		states.push({
            name:'performanceRanking.performanceData',
            url:'/performanceData/:kpiTime/:grade/:hospitalName/:hospitalCode/:regionCode',
            data:{
                title:'机构综合评价排名',
                tabRoot:'performanceRanking'
            },
            views:{
                'performanceRanking@':{
                    templateUrl:baseUrl+'/views/hcpms/assessment/performanceData.html',
                    controller:'performanceDataCtrl'
                }
            }
        });
		
		states.push({
            name:'performanceRanking',
            url:'/performanceRanking',
            data:{
                title:'机构综合评价排名',
                tabRoot:'performanceRanking'
            },
            views:{
                'performanceRanking@':{
                    templateUrl:baseUrl+'/views/hcpms/assessment/performanceRanking.html',
                    controller:'performanceRankingCtrl'
                }
            }
        });
		

	        
	        
	}]);
	
})();